#ifndef __speed_control_H__
#define __speed_control_H__

#include "common.h"

#define left 3
#define right 2
#define basic_speed  2500
#define wandao_speed  1600



void Motor_PWM_Init(void);
void Set_Motor_PWM(uint8_t mode,uint32_t velocity);
void different_speed(void);
void read_speed_init(void);
void read_speed(void);

extern float left_speed,right_speed;
extern int left_speed_count,right_speed_count;

#endif




















